#===============================================================================
# @brief    cmake file
# Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
#===============================================================================

set(SOURCES_LIST
    ${CMAKE_CURRENT_SOURCE_DIR}/Gateway_Node.c

    ${CMAKE_CURRENT_SOURCE_DIR}/sle_client/sle_client.c
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_client/sle_node_list.c

    ${CMAKE_CURRENT_SOURCE_DIR}/wifi_sta_connect/wifi_sta_connect.c
    ${CMAKE_CURRENT_SOURCE_DIR}/wifi_sta_connect/NetworkProcessing.c
    
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/BEEP/bsp_beep.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/KEY/bsp_key.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_led.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/SerialScreen/SerialScreen.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/UART/bsp_uart.c

)
set(HEADER_LIST 
    ${CMAKE_CURRENT_SOURCE_DIR}/.
    ${CMAKE_CURRENT_SOURCE_DIR}/wifi_sta_connect
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_client
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/BEEP
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/KEY
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/SerialScreen
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/UART
)

set(SOURCES "${SOURCES}" ${SOURCES_LIST} PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" ${HEADER_LIST} PARENT_SCOPE)